package com.cy.ppj.model.ao.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @description: 绑卡
 * @author: Ocean
 * @create: 2018-08-02 14:28
 **/
@Data
@ApiModel("绑定银行卡")
public class BindBankCardAO {

    @ApiModelProperty(value = "姓名", required = true)
    @NotEmpty(message = "姓名不可为空")
    private String realName;

    @ApiModelProperty(value = "银行卡号码", required = true)
    @NotEmpty(message = "银行卡号码不可为空")
    private String bankCard;

    @ApiModelProperty(value = "银行预留手机号码", required = true)
    @NotEmpty(message = "银行预留手机号码不可为空")
    private String bankMobile;

    @ApiModelProperty(value = "身份证号码", required = true)
    @NotEmpty(message = "身份证号码不可为空")
    private String idNo;

    @ApiModelProperty(value = "短信验证码", required = true)
    @NotEmpty(message = "短信验证码不可为空")
    private String smsCode;
    
    @ApiModelProperty(value = "城市ID", example = "1", required = true)
    @NotNull(message = "城市ID不可为空")
    private Long cityId;

}
